﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta><style>/*<![CDATA[*/

table{border: 1px solid gray;}
td{border: 1px dotted gray;}
p{margin: 3px 0 3px 0; padding: 0;}
#ID_Footer{font-size: small; font-style: italic; text-align: right; margin-top: 4em; padding-top: 4px; border-top: 2px solid gray;}

/*]]>*/</style><title>第8章 其他标记</title></head><body>
<div><br /></div>
<div style="text-align: center"><span style="font-family: 宋体; font-size: 30pt; padding-left: 77pt; line-height: 280%">第</span><span style="font-family: Calibri; font-size: 30pt; padding-left: 77pt; line-height: 280%">8</span><span style="font-family: 宋体; font-size: 30pt; padding-left: 77pt; line-height: 280%">章 &nbsp; &nbsp; &nbsp; &nbsp;其他标记</span></div>
<div><span style="font-family: 微软雅黑; font-size: 16pt; padding-left: 18pt; line-height: 240%">1. &nbsp; &nbsp; &nbsp; &nbsp;概念</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">HTML4</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">XHTML1.0 &amp; XML (p168)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">SVG, MathML, CML (p169)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">严格版</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">XHTML1.0, </span><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">过渡版</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">XHTML1.0 , </span><span style="font-family: Times New Roman; font-size: 12pt; text-decoration: underline; line-height: 240%">XHTML1.0</span><span style="font-family: 宋体; font-size: 12pt; text-decoration: underline; line-height: 240%">框架</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">(p169)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">HTML5(p169)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">DOCTYPE</span><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">声明。声明</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">HTML5, HTML4, Transitioanl XHTML1.0, Strict XHTML1.0 (p170)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">XML</span><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">声明</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">(p170)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">注释</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%"> (p171)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">全局特性</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%"> (p172)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">块级元素</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%"> &amp; div</span><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">：</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">&lt;h1&gt;, &lt;p&gt;, &lt;ul&gt;, &lt;li&gt; etc. (p174, p176)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">内联元素</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%"> &amp; span</span><span style="font-family: 宋体; font-size: 12pt; line-height: 240%">：</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">&lt;a&gt;, &lt;b&gt;, &lt;em&gt;, &lt;img&gt; etc. (p175, p177)</span></div>
<div><span style="font-family: 宋体; font-size: 12pt; line-height: 240%"> &nbsp; &nbsp;转义字符</span><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%"> (p182-p183, </span><a href="http://www.w3school.com.cn/tags/html_ref_symbols.html" style="font-family: 宋体; font-size: 12pt; text-decoration: underline; color: #0563c1">参见</a><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">)</span></div>
<div><br /></div>
<div><br /></div>
<div><span style="font-family: 微软雅黑; font-size: 16pt; font-weight: bold; padding-left: 18pt; line-height: 240%">2. &nbsp; &nbsp; &nbsp; &nbsp;标签</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; text-decoration: underline; color: #7030a0; line-height: 240%">center</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&gt;, &lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; text-decoration: underline; color: #7030a0; line-height: 240%">font</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&gt;, &lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; text-decoration: underline; color: #7030a0; line-height: 240%">strike</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&gt;</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 240%">id </span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 240%">特性</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%"> (p172)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 240%">class</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 240%">特性</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%"> (p173)</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 240%">，单个元素多个</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">class</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 240%">特性？</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">(p173 </span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 240%">示例</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">&lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; color: #7030a0; line-height: 240%">div</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&gt; (p176)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 240%">&lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; color: #7030a0; line-height: 240%">span</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 240%">&gt; (p177)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 160%">&lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; color: #7030a0; line-height: 160%">iframe</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&gt;, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">src</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">height</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">width</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 160%">特性</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%"> (p178)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; text-decoration: underline; color: #c45911; padding-left: 21pt; line-height: 160%">scrolling</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">特性，</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; padding-left: 21pt; line-height: 160%">yes</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; padding-left: 21pt; line-height: 160%">no</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; padding-left: 21pt; line-height: 160%">auto</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">特性值</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%"> (p179)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; text-decoration: underline; color: #c45911; padding-left: 21pt; line-height: 160%">frameborder</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">特性，</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; padding-left: 21pt; line-height: 160%">1</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; padding-left: 21pt; line-height: 160%">0</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">(</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">不显示边框</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">)</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">特性值</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%"> (p179)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; text-decoration: underline; color: #c45911; padding-left: 21pt; line-height: 160%">marginheight</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; text-decoration: underline; color: #c45911; padding-left: 21pt; line-height: 160%">marginwidth</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%">特性</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 160%"> (p185)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; padding-left: 21pt; line-height: 240%">seamless</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 240%">特性</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 240%">(html5, </span><span style="font-family: 宋体; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 240%">不需要特性值</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; padding-left: 21pt; line-height: 240%">) (p179)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 160%">&lt;</span><span style="font-family: Times New Roman; font-size: 12pt; font-weight: bold; color: #7030a0; line-height: 160%">meta /</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&gt; (p180-181)</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 160%"> &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">name</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 160%">特性，与</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">content</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 160%">成对使用。特性值</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">description</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">keywords</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">robots</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 160%"> &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">content</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 160%">特性。对应</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">name=&quot;robots&quot;, content=&quot;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">noindex</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&quot; or &quot;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">nofollow</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&quot;</span></div>
<div><span style="font-family: Times New Roman; font-size: 12pt; line-height: 160%"> &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c45911; line-height: 160%">http-equiv</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, content</span><span style="font-family: 宋体; font-size: 12pt; color: #000000; line-height: 160%">特性成对使用。特性值</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">author</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">, </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">pragma</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%"> ( content=&quot;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">no-cache</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&quot;), </span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">expires</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%"> (content=&quot;</span><span style="font-family: Times New Roman; font-size: 12pt; color: #c00000; line-height: 160%">Fri, 04 Apr 2016 23:59:59 GMT</span><span style="font-family: Times New Roman; font-size: 12pt; color: #000000; line-height: 160%">&quot; )</span></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div>
<div><br /></div><script type="text/javascript" language="javascript" src="jquery.js"></script><script type="text/javascript" language="javascript" src="itemlink.js"></script></body></html>